let g:tmpl_auto_initialize = 1
let g:tmpl_search_paths = ['~/vimfiles/templates']
let g:tmpl_author_name = '陈新亮'
let g:tmpl_author_email = 'chenxinliang@bit.edu.cn'
let g:tmpl_company = 'Beijing Institute of Technology'

function! plugin#vim_templates#load() abort
    if exists('g:vt_plugin_loaded')
        packadd vim-templates
    endif
    return  exists('g:vt_plugin_loaded')
endfunction

function! plugin#vim_templates#init() abort
    if plugin#vim_templates#load()
    endif
endfunction

